﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="AddTrustDistrict.aspx.cs" Inherits="MockPrjTeam2.Pages.Forms.AddTrustDistrict" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="grid740 simplebox relative">
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="trustdistrict"
            ForeColor="Red" />
        <div id="tabs">
    <table style="width: 100%">
        <tr>
            <td colspan="2" style="font-family: Arial, Helvetica, sans-serif; font-size: large;
                font-weight: bold; color: #639A18">
                Add TrustDistrict
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div align="right">
                    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="Save" 
                        Width="82px" ValidationGroup="trustdistrict"/>
                    <asp:Button ID="btnBack" runat="server" PostBackUrl="TrustRegionDetails.aspx" 
                        Text="Back" Width="82px" />
                </div>
            </td>
        </tr>
        <tr>
            <td style="width: 125px">
                <asp:Label ID="LabelTrustRegionName" runat="server" Text="Trust Region Name"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtTrustRegionName" runat="server" Width="160px" 
                    Enabled="False" CssClass="st-forminput" ValidationGroup="trustdistrict"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 125px">
                <asp:Label ID="LabelTrustDistrictName" runat="server" Text="Trust District Name" AssociatedControlID="TxtTrustDistrictName"></asp:Label>
                 <asp:RequiredFieldValidator ID="RequiredTrustDistrictName" runat="server" 
                    ErrorMessage=" * Please input Trust District Name " SetFocusOnError="true" ForeColor="red" 
                    ValidationGroup="trustdistrict" ControlToValidate="TxtTrustDistrictName" Display="Static">*</asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:TextBox ID="TxtTrustDistrictName" runat="server" Width="160px" CssClass="st-forminput"></asp:TextBox>
                <asp:Label ID="lblCheckTrustDistrictName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 125px">
                <asp:Label ID="LabelDescription" runat="server" Text="Description" AssociatedControlID="TxtDescription"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtDescription" runat="server" Width="160px" Height="47px" CssClass="st-forminput"></asp:TextBox>
            </td>
        </tr>
    </table></div></div>
</asp:Content>
